package com.william.mysqldata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 词典表
 * </p>
 *
 * @author william
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Dict implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 词条
     */
    private String word;

    /**
     * 注释解释
     */
    private String content;

    /**
     * 字典状态，是否启用
     */
    private Integer state;


}
